package com.niuwa.p2p.dao.business;

import java.util.List;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.business.ProdRelativeProt;

@MyBatisDao
public interface ProdRelativeProtDao {
	
	/**
	 *	产品绑定协议
	 * @param planProductVo 投资计划
	 */
	public int saveProdRelativeProt(List<ProdRelativeProt> prodRelativeProts);
	
	
	/**
	 * 产品、协议解绑
	 * @param planProductVo 投资计划
	 */
	public int deleteProdRelativeProtByProd(String prod);
	
}
